package com.hongyou.user.webservice;

import java.util.List;

import javax.jws.WebService;

import com.hongyou.user.biz.IUserBiz;
import com.hongyou.user.module.User;

@WebService
public class UserServiceImpl implements UserService {

	private IUserBiz userBiz = null;

	public IUserBiz getUserBiz() {
		return userBiz;
	}

	public void setUserBiz(IUserBiz userBiz) {
		this.userBiz = userBiz;
	}

	@Override
	public User getUserById(String userId) {
		return userBiz.getUserById(userId);
	}

	@Override
	public List<User> getUsers() {
		return userBiz.getUsers();
	}

}
